package com.example.example002;

public class StringStaticTest {
	public static final String A = "ab";
	public static final String B = "cd";
	
	public static void main(String[] args) {
		String s = A+B;
		String t = "abc";
		if(t==s){
			System.out.println("相等");
		}else{
			System.out.println("不相等");
		}
	}
}
